package com.noble.meether.ui.auth.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * Created by Su on 2018/8/6.
 */
public class AuthList extends BaseData {
    private ArrayList<Auth> authList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.authList = (ArrayList<Auth>) getBaseDataList(jsonArray, Auth.class);
    }

    public ArrayList<Auth> getAuthList() {
        return authList;
    }
}
